gtk4.git
18 years agofixed couple of drawing problems with block cursor (#448321).
Yevgen Muntyan [Sat, 16 Jun 2007 23:18:29 +0000 (23:18 +0000)]
fixed couple of drawing problems with block cursor (#448321).

2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtktextdisplay.c (render_para): fixed couple of drawing
problems with block cursor (#448321).

svn path=/trunk/; revision=18167

18 years agoAdd GtkTooltip. (#448341)
Jan Arne Petersen [Sat, 16 Jun 2007 22:46:34 +0000 (22:46 +0000)]
Add GtkTooltip. (#448341)

2007-06-17  Jan Arne Petersen  <jpetersen@jpetersen.org>

       * gtk/gtk-docs.sgml: Add GtkTooltip. (#448341)

svn path=/trunk/; revision=18166

18 years agoIgnore events and break any grabs while the window is being dragged.
Richard Hult [Sat, 16 Jun 2007 21:39:42 +0000 (21:39 +0000)]
Ignore events and break any grabs while the window is being dragged.

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
events and break any grabs while the window is being dragged.

svn path=/trunk/; revision=18165

18 years agoDefer setting the parent until the window is shown, otherwise it gets
Richard Hult [Sat, 16 Jun 2007 21:21:52 +0000 (21:21 +0000)]
Defer setting the parent until the window is shown, otherwise it gets

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
Defer setting the parent until the window is shown, otherwise it
gets unconditionally shown here.

svn path=/trunk/; revision=18164

18 years agoSwap argument order to dgettext (#448299, Jan Arne Petersen)
Johan Dahlin [Sat, 16 Jun 2007 20:36:09 +0000 (20:36 +0000)]
Swap argument order to dgettext (#448299, Jan Arne Petersen)

2007-06-16  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
    (#448299, Jan Arne Petersen)

svn path=/trunk/; revision=18163

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 16 Jun 2007 19:59:32 +0000 (19:59 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18162

18 years agoMove the checks for no window or a non-GDK window from here...
Richard Hult [Sat, 16 Jun 2007 16:16:43 +0000 (16:16 +0000)]
Move the checks for no window or a non-GDK window from here...

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
Move the checks for no window or a non-GDK window from here...
(gdk_event_translate): ...to here. Reorder the code so that we
detect the cases where we need to break grabs before bailing
out.

svn path=/trunk/; revision=18161

18 years agoBreak out into a separate function.
Richard Hult [Sat, 16 Jun 2007 15:43:23 +0000 (15:43 +0000)]
Break out into a separate function.

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
(break_all_grabs): Break out into a separate function.

svn path=/trunk/; revision=18160

18 years agoImplement, to be used to detect if the window is currently being moved
Richard Hult [Sat, 16 Jun 2007 15:41:27 +0000 (15:41 +0000)]
Implement, to be used to detect if the window is currently being moved

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
to detect if the window is currently being moved with the mouse.

svn path=/trunk/; revision=18159

18 years agoDon't set parent/child relationship for tooltip windows since that moves
Richard Hult [Sat, 16 Jun 2007 15:38:33 +0000 (15:38 +0000)]
Don't set parent/child relationship for tooltip windows since that moves

2007-06-16  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
Don't set parent/child relationship for tooltip windows since that
moves the parent window to the front, due to the tooltip having a
high window level.

svn path=/trunk/; revision=18158

18 years agoDon't use "typename" C++ keyword as parameter name. Bug #448193.
Christian Persch [Sat, 16 Jun 2007 14:29:50 +0000 (14:29 +0000)]
Don't use "typename" C++ keyword as parameter name. Bug #448193.

2007-06-16  Christian Persch  <chpe@gnome.org>

* gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
(gtk_builder_get_type_from_name):
* gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
name. Bug #448193.

svn path=/trunk/; revision=18157

18 years agoBump version
Matthias Clasen [Sat, 16 Jun 2007 02:08:38 +0000 (02:08 +0000)]
Bump version

svn path=/trunk/; revision=18156

18 years ago2.11.3
Matthias Clasen [Sat, 16 Jun 2007 02:02:37 +0000 (02:02 +0000)]
2.11.3

svn path=/trunk/; revision=18154

18 years agoBase class should be GObject, not GtkObject.
Johan Dahlin [Fri, 15 Jun 2007 21:48:32 +0000 (21:48 +0000)]
Base class should be GObject, not GtkObject.

* gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.

svn path=/trunk/; revision=18153

18 years agoFix cross-references
Matthias Clasen [Fri, 15 Jun 2007 21:19:44 +0000 (21:19 +0000)]
Fix cross-references

svn path=/trunk/; revision=18152

18 years agoDocumentation fixes
Matthias Clasen [Fri, 15 Jun 2007 21:18:35 +0000 (21:18 +0000)]
Documentation fixes

svn path=/trunk/; revision=18151

18 years agoFix up docs
Matthias Clasen [Fri, 15 Jun 2007 20:56:30 +0000 (20:56 +0000)]
Fix up docs

svn path=/trunk/; revision=18150

18 years agoCorrecting the ChangeLog entry for r18142.
Mathias Hasselmann [Fri, 15 Jun 2007 20:55:16 +0000 (20:55 +0000)]
Correcting the ChangeLog entry for r18142.

svn path=/trunk/; revision=18149

18 years agoDon't install gtkbuilderprivate.h
Matthias Clasen [Fri, 15 Jun 2007 20:43:49 +0000 (20:43 +0000)]
Don't install gtkbuilderprivate.h

2007-06-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am: Don't install gtkbuilderprivate.h

        * gtk/gtk.h: Include gtkbuilder.h

        * NEWS: Updates

svn path=/trunk/; revision=18148

18 years agoAdd forgotten docs
Matthias Clasen [Fri, 15 Jun 2007 19:46:32 +0000 (19:46 +0000)]
Add forgotten docs

svn path=/trunk/; revision=18147

18 years agoUse gsize instead of unsigned and gulong instead of long, fixes complation
Johan Dahlin [Fri, 15 Jun 2007 19:21:43 +0000 (19:21 +0000)]
Use gsize instead of unsigned and gulong instead of long, fixes complation

    * gtk/gtkbuilder.c (gtk_builder_add_from_file):
    (gtk_builder_value_from_string_type):
    Use gsize instead of unsigned and gulong instead of long,
    fixes complation on OSX, fixes #447987

svn path=/trunk/; revision=18146

18 years agoadd move_selected signal to allow overriding the default internal
Matthias Clasen [Fri, 15 Jun 2007 19:08:08 +0000 (19:08 +0000)]
add move_selected signal to allow overriding the default internal

2007-06-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenushell.[ch]: add move_selected signal to allow
        overriding the default internal behaviour.  (#446833, Ryan Lortie)

svn path=/trunk/; revision=18145

18 years agoForgot to free the unescaped tooltip text.
Mathias Hasselmann [Fri, 15 Jun 2007 18:34:21 +0000 (18:34 +0000)]
Forgot to free the unescaped tooltip text.

2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.

svn path=/trunk/; revision=18144

18 years agoImproving handling of tooltip-text property. Also check result of tooltip
Mathias Hasselmann [Fri, 15 Jun 2007 18:25:11 +0000 (18:25 +0000)]
Improving handling of tooltip-text property. Also check result of tooltip

2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gtk/gtkwidget.c: Improving handling of tooltip-text property.
* tests/testtooltips.c: Also check result of tooltip getters.

svn path=/trunk/; revision=18143

18 years agoIntroduce convenience property "GtkWidget:tooltip-text" taking care of
Mathias Hasselmann [Fri, 15 Jun 2007 18:24:55 +0000 (18:24 +0000)]
Introduce convenience property "GtkWidget:tooltip-text" taking care of

2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>

        * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
        gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
        convenience property "GtkWidget:tooltip-text" taking care of escaping
        it for unwanted markup entities. Add functions to set tooltip text:
        gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
        gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().

        * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
        to set the tooltip text without using markup.

        Patches from Emmanuele Bassi (#447643).

svn path=/trunk/; revision=18142

18 years agoAdd GtkBuilder, fixes #172535
Johan Dahlin [Fri, 15 Jun 2007 17:53:46 +0000 (17:53 +0000)]
Add GtkBuilder, fixes #172535

2007-06-15  Johan Dahlin  <jdahlin@async.com.br>

    * demos/gtk-demo/Makefile.am:
    * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
    (do_builder):
    * demos/gtk-demo/demo.ui:
    * docs/reference/gtk/gtk-docs.sgml:
    * docs/reference/gtk/gtk-sections.txt:
    * docs/reference/gtk/gtk.types:
    * docs/reference/gtk/tmpl/gtkbuildable.sgml:
    * docs/reference/gtk/tmpl/gtkbuilder.sgml:
    * gtk/Makefile.am:
    * gtk/gtk.h:
    * gtk/gtk.symbols:
    * gtk/gtkaction.c: (gtk_action_buildable_init),
    (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
    * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
    (gtk_action_group_buildable_init),
    (gtk_action_group_buildable_add),
    (gtk_action_group_buildable_set_name),
    (gtk_action_group_buildable_get_name):
    * gtk/gtkbuildable.c: (gtk_buildable_get_type),
    (gtk_buildable_set_name), (gtk_buildable_get_name),
    (gtk_buildable_add), (gtk_buildable_set_property),
    (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
    (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
    (gtk_buildable_custom_finished),
    (gtk_buildable_get_internal_child):
    * gtk/gtkbuildable.h:
    * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
    (gtk_builder_finalize), (gtk_builder_set_property),
    (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
    (gtk_builder_real_get_type_from_name),
    (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
    (_gtk_builder_construct), (_gtk_builder_add),
    (apply_delayed_properties), (_gtk_builder_finish),
    (gtk_builder_new), (gtk_builder_add_from_file),
    (gtk_builder_add_from_string), (gtk_builder_get_object),
    (object_add_to_list), (gtk_builder_get_objects),
    (gtk_builder_set_translation_domain),
    (gtk_builder_get_translation_domain),
    (gtk_builder_connect_signals_default),
    (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
    (gtk_builder_value_from_string),
    (gtk_builder_value_from_string_type),
    (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
    (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
    * gtk/gtkbuilder.h:
    * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
    (error_missing_attribute), (error_invalid_attribute),
    (error_invalid_tag), (builder_construct), (parse_object),
    (free_object_info), (_get_type_by_symbol), (parse_child),
    (free_child_info), (parse_property), (free_property_info),
    (parse_signal), (_free_signal_info), (parse_interface),
    (create_subparser), (free_subparser), (subparser_start),
    (subparser_end), (parse_custom), (start_element), (end_element),
    (text), (_gtk_builder_parser_parse_buffer):
    * gtk/gtkbuilderprivate.h:
    * gtk/gtkcelllayout.c: (attributes_start_element),
    (attributes_text_element),
    (_gtk_cell_layout_buildable_custom_tag_start),
    (_gtk_cell_layout_buildable_custom_tag_end),
    (_gtk_cell_layout_buildable_add):
    * gtk/gtkcelllayout.h:
    * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
    (gtk_cell_view_buildable_custom_tag_start),
    (gtk_cell_view_buildable_custom_tag_end):
    * gtk/gtkcolorseldialog.c:
    (gtk_color_selection_dialog_buildable_interface_init),
    (gtk_color_selection_dialog_buildable_get_internal_child):
    * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
    (gtk_combo_box_buildable_custom_tag_start),
    (gtk_combo_box_buildable_custom_tag_end):
    * gtk/gtkcomboboxentry.c:
    (gtk_combo_box_entry_buildable_interface_init),
    (gtk_combo_box_entry_buildable_get_internal_child):
    * gtk/gtkcontainer.c: (gtk_container_get_type),
    (gtk_container_buildable_init), (gtk_container_buildable_add),
    (gtk_container_buildable_set_child_property),
    (attributes_start_element), (attributes_text_element),
    (gtk_container_buildable_custom_tag_start),
    (gtk_container_buildable_custom_tag_end):
    * gtk/gtkdebug.h:
    * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
    (gtk_dialog_buildable_get_internal_child),
    (attributes_start_element), (attributes_text_element),
    (gtk_dialog_buildable_custom_tag_start),
    (gtk_dialog_buildable_custom_finished):
    * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
    * gtk/gtkexpander.c: (gtk_expander_buildable_add),
    (gtk_expander_buildable_init):
    * gtk/gtkfontsel.c:
    (gtk_font_selection_dialog_buildable_interface_init),
    (gtk_font_selection_dialog_buildable_get_internal_child):
    * gtk/gtkframe.c: (gtk_frame_buildable_init),
    (gtk_frame_buildable_add):
    * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
    (gtk_icon_view_buildable_custom_tag_start),
    (gtk_icon_view_buildable_custom_tag_end):
    * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
    (list_store_start_element), (list_store_end_element),
    (list_store_text), (gtk_list_store_buildable_custom_tag_start),
    (gtk_list_store_buildable_custom_tag_end):
    * gtk/gtkmain.c:
    * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
    (gtk_notebook_buildable_add):
    * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
    (size_group_start_element),
    (gtk_size_group_buildable_custom_tag_start),
    (gtk_size_group_buildable_custom_finished):
    * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
    (tree_model_start_element),
    (gtk_tree_store_buildable_custom_tag_start),
    (gtk_tree_store_buildable_custom_finished):
    * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
    (gtk_tree_view_buildable_add):
    * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
    * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
    (gtk_ui_manager_buildable_add),
    (gtk_ui_manager_buildable_construct_child),
    (gtk_ui_manager_buildable_custom_tag_start),
    (gtk_ui_manager_buildable_custom_tag_end):
    * gtk/gtkwidget.c: (gtk_widget_get_type),
    (gtk_widget_buildable_interface_init),
    (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
    (gtk_widget_buildable_set_property),
    (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
    (gtk_widget_buildable_custom_tag_start),
    (gtk_widget_buildable_custom_finshed):
    * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
    (gtk_window_buildable_set_property),
    (gtk_window_buildable_parser_finished):
    * tests/Makefile.am:
    * tests/buildertest.c: (builder_new_from_string), (test_parser),
    (signal_normal), (signal_after), (signal_object),
    (signal_object_after), (signal_first), (signal_second),
    (signal_extra), (signal_extra2), (test_connect_signals),
    (test_uimanager_simple), (test_domain), (test_translation),
    (test_sizegroup), (test_list_store), (test_tree_store),
    (test_types), (test_spin_button), (test_notebook),
    (test_construct_only_property), (test_children),
    (test_child_properties), (test_treeview_column), (test_icon_view),
    (test_combo_box), (test_combo_box_entry), (test_cell_view),
    (test_dialog), (test_accelerators), (test_widget), (main):

    Add GtkBuilder, fixes #172535

svn path=/trunk/; revision=18141

18 years agoupdated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True
Hans Breuer [Fri, 15 Jun 2007 15:25:50 +0000 (15:25 +0000)]
updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True

2007-06-15  Hans Breuer <hans@breuer.org>

* gtk/makefile.msc.in tests/makefile.msc : updated
* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
to match the WNDCLASSEXW.
True dynamic linking of SetLayeredWindowAttributes
* tests/testprint.c tests/testnouiprint.c : use G_PI

svn path=/trunk/; revision=18140

18 years agoupdated use g_snprintf
Hans Breuer [Fri, 15 Jun 2007 15:18:48 +0000 (15:18 +0000)]
updated use g_snprintf

2007-06-15  Hans Breuer  <hans@breuer.org>

* makefile.msc : updated
* io-jpeg.c : use g_snprintf

svn path=/trunk/; revision=18139

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 15 Jun 2007 09:50:10 +0000 (09:50 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18138

18 years agoinlinegraphic instead of inlinegraphics. Fixes the doc build
Johan Dahlin [Thu, 14 Jun 2007 22:10:14 +0000 (22:10 +0000)]
inlinegraphic instead of inlinegraphics. Fixes the doc build

2007-06-14  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/tmpl/gtktreeview.sgml (linkend): inlinegraphic instead of
    inlinegraphics. Fixes the doc build

svn path=/trunk/; revision=18137

18 years ago...and the ChangeLog entry, thanks richard
Johan Dahlin [Thu, 14 Jun 2007 19:28:58 +0000 (19:28 +0000)]
...and the ChangeLog entry, thanks richard

svn path=/trunk/; revision=18136

18 years agoAdd gtk_text_layout_set_overwrite_mode
Johan Dahlin [Thu, 14 Jun 2007 19:18:25 +0000 (19:18 +0000)]
Add gtk_text_layout_set_overwrite_mode

svn path=/trunk/; revision=18135

18 years agoFix compiler warning. (#447586, Kazuki IWAMOTO)
Behdad Esfahbod [Thu, 14 Jun 2007 16:03:30 +0000 (16:03 +0000)]
Fix compiler warning. (#447586, Kazuki IWAMOTO)

2007-06-14  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
        warning. (#447586, Kazuki IWAMOTO)

svn path=/trunk/; revision=18134

18 years agoUse g_win32_get_windows_version() instead of _winver so that this compiles
Tor Lillqvist [Thu, 14 Jun 2007 09:41:08 +0000 (09:41 +0000)]
Use g_win32_get_windows_version() instead of _winver so that this compiles

2007-06-14  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
g_win32_get_windows_version() instead of _winver so that this
compiles on Cygwin, too. Not that I know if it makes sense to
build GTK+ with the Win32 backend for Cygwin, but some people want
to.

svn path=/trunk/; revision=18132

18 years agoUpdated Oriya Translation
Subhransu Behera [Thu, 14 Jun 2007 06:54:01 +0000 (06:54 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=18131

18 years agoUpdates
Matthias Clasen [Thu, 14 Jun 2007 04:37:31 +0000 (04:37 +0000)]
Updates

svn path=/trunk/; revision=18130

18 years agoMove a note around
Matthias Clasen [Thu, 14 Jun 2007 04:13:14 +0000 (04:13 +0000)]
Move a note around

svn path=/trunk/; revision=18129

18 years agoImprove docs
Matthias Clasen [Thu, 14 Jun 2007 04:03:58 +0000 (04:03 +0000)]
Improve docs

svn path=/trunk/; revision=18128

18 years agoremoved unused and hardly visible GtkFrame from the menu widget hierarchy
Carlos Garnacho [Wed, 13 Jun 2007 23:15:42 +0000 (23:15 +0000)]
removed unused and hardly visible GtkFrame from the menu widget hierarchy

2007-06-14  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
        the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
        * NEWS: add a note about repercussions of this change to RC files.

svn path=/trunk/; revision=18127

18 years ago#undef GDK_DISABLE_DEPRECATED to get prototype for gdk_font_ref().
Behdad Esfahbod [Wed, 13 Jun 2007 21:24:21 +0000 (21:24 +0000)]
#undef GDK_DISABLE_DEPRECATED to get prototype for gdk_font_ref().

2007-06-13  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
        get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)

svn path=/trunk/; revision=18126

18 years agoadd "submenu" property. Fix gtk_menu_item_set_submenu() to accept NULL
Michael Natterer [Wed, 13 Jun 2007 15:21:10 +0000 (15:21 +0000)]
add "submenu" property. Fix gtk_menu_item_set_submenu() to accept NULL

2007-06-13  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
gtk_menu_item_remove_submenu() because we have a properly working
setter now (bug #447065).

* gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().

* gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
gtk_menu_item_remove_submenu().

svn path=/trunk/; revision=18125

18 years agoFix inconsistency in GTK_WIDGET_SAVED_STATE (#435840, Xan Lopez)
Cody Russell [Wed, 13 Jun 2007 14:17:53 +0000 (14:17 +0000)]
Fix inconsistency in GTK_WIDGET_SAVED_STATE (#435840, Xan Lopez)

2007-06-13  Cody Russell  <bratsche@gnome.org>

       * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
       (#435840, Xan Lopez)

svn path=/trunk/; revision=18122

18 years agogtk/gtk.symbols rename _gtk_file_system_create to gtk_file_system_create
Kristian Rietveld [Wed, 13 Jun 2007 13:51:07 +0000 (13:51 +0000)]
gtk/gtk.symbols rename _gtk_file_system_create to gtk_file_system_create

2007-06-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtk.symbols
* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
gtk_file_system_create to make it public and bring trunk back
in sync with gtk-2-10.

* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.

svn path=/trunk/; revision=18121

18 years agoadded calls to g_object_freeze/thaw_notify() so gtk_label_get_text()
Michael Natterer [Wed, 13 Jun 2007 13:38:51 +0000 (13:38 +0000)]
added calls to g_object_freeze/thaw_notify() so gtk_label_get_text()

2007-06-13  Michael Natterer  <mitch@imendio.com>

* gtk/gtklabel.c (gtk_label_set_label): added calls to
g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
return the old text when called from a "notify::label" callback.

svn path=/trunk/; revision=18120

18 years agoAudit of GtkTreeView coordinate system usage. (#142494).
Kristian Rietveld [Wed, 13 Jun 2007 13:27:00 +0000 (13:27 +0000)]
Audit of GtkTreeView coordinate system usage. (#142494).

2007-06-13  Kristian Rietveld  <kris@imendio.com>

Audit of GtkTreeView coordinate system usage. (#142494).

* gtk/gtktreeview.[ch]: general documentation updates,
(gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
update coordinate translations,
(gtk_tree_view_tree_to_widget_coords),
(gtk_tree_view_widget_to_tree_coords): Deprecated,
(gtk_tree_view_convert_.*_coords): 6 new functions for doing
transformations between coordinate systems.

* gtk/gtk.symbols: updated.

* tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
with new gtk_tree_view_convert_widget_to_bin_window_coords().

* docs/reference/gtk/Makefile.am
* docs/reference/gtk/images/tree-view-coordinates.png: add new image.

* docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
different coordinate systems.

svn path=/trunk/; revision=18119

18 years agoAdd orientation property and some slight refactoring here and there.
Kristian Rietveld [Wed, 13 Jun 2007 12:41:24 +0000 (12:41 +0000)]
Add orientation property and some slight refactoring here and there.

2007-06-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcellrendererprogress.c
(gtk_cell_renderer_progress_class_init),
(gtk_cell_renderer_progress_init),
(gtk_cell_renderer_progress_[gs]et_property),
(gtk_cell_renderer_progress_render): Add orientation property and some
slight refactoring here and there.  (Fixes #344836, reported by
Benjamin Montgomery).

svn path=/trunk/; revision=18118

18 years agoRemove linux-fb leftovers
Matthias Clasen [Wed, 13 Jun 2007 02:07:15 +0000 (02:07 +0000)]
Remove linux-fb leftovers

svn path=/trunk/; revision=18113

18 years agouse PANGO_BREAK_WORD_CHAR instead of PANGO_BREAK_WORD so the text cell
Michael Natterer [Tue, 12 Jun 2007 17:07:48 +0000 (17:07 +0000)]
use PANGO_BREAK_WORD_CHAR instead of PANGO_BREAK_WORD so the text cell

2007-06-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
wrap-width if there is no whitespace found to break at.
Fixes bug #446107.

svn path=/trunk/; revision=18112

18 years agoFix #410815, reported by Lucas Rocha.
Kristian Rietveld [Tue, 12 Jun 2007 09:19:26 +0000 (09:19 +0000)]
Fix #410815, reported by Lucas Rocha.

2007-06-12  Kristian Rietveld  <kris@imendio.com>

Fix #410815, reported by Lucas Rocha.

* gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
wrap-width with the first icon, if it exists,
(adjust_wrap_width): try to use icon_view->priv->item_width
if available,
(gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
which caused changes in wrap-width during the layouting process and
resulted in layouting artefacts,
(update_text_cell): don't set the wrap-width property, this should
be handled by adjust_wrap_width.

svn path=/trunk/; revision=18111

18 years agoFix out-of-bound access. (#440918, Matthias Kilian)
Behdad Esfahbod [Tue, 12 Jun 2007 05:40:13 +0000 (05:40 +0000)]
Fix out-of-bound access. (#440918, Matthias Kilian)

2007-06-12  Behdad Esfahbod  <behdad@gnome.org>

        * io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access.
        (#440918, Matthias Kilian)

svn path=/trunk/; revision=18110

18 years agoImprove docs. (#446138, Björn Lindqvist)
Behdad Esfahbod [Tue, 12 Jun 2007 05:34:26 +0000 (05:34 +0000)]
Improve docs. (#446138, Björn Lindqvist)

2007-06-12  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
        (#446138, Björn Lindqvist)

svn path=/trunk/; revision=18109

18 years agoImplement block-cursor for overwrite mode. (#80378)
Yevgen Muntyan [Tue, 12 Jun 2007 05:32:57 +0000 (05:32 +0000)]
Implement block-cursor for overwrite mode. (#80378)

2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>

        * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
        (gtk_entry_draw_cursor):
        * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
        (_gtk_widget_get_cursor_color):
        * gtk/gtkstyle.h:
        * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
        (gtk_text_renderer_draw_shape), (text_renderer_set_state),
        (render_para):
        * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
        (gtk_text_layout_invalidate_cache), (get_block_cursor),
        (add_cursor), (gtk_text_layout_get_line_display),
        (_gtk_text_layout_get_block_cursor):
        * gtk/gtktextlayout.h:
        * gtk/gtktextutil.c (layout_get_char_width),
        (_gtk_text_util_get_block_cursor_location):
        * gtk/gtktextutil.h:
        * gtk/gtktextview.c (gtk_text_view_set_editable),
        (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
        (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
        Implement block-cursor for overwrite mode.  (#80378)

svn path=/trunk/; revision=18108

18 years agoBump GLib requirement
Matthias Clasen [Tue, 12 Jun 2007 05:25:06 +0000 (05:25 +0000)]
Bump GLib requirement

svn path=/trunk/; revision=18107

18 years agoFix some locking issues
Matthias Clasen [Tue, 12 Jun 2007 02:12:32 +0000 (02:12 +0000)]
Fix some locking issues

svn path=/trunk/; revision=18105

18 years agoWhen debugging is turned on, use error-checking mutexes.
Matthias Clasen [Tue, 12 Jun 2007 01:28:17 +0000 (01:28 +0000)]
When debugging is turned on, use error-checking mutexes.

2007-06-11  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: When debugging is turned on, use error-checking
        mutexes.

svn path=/trunk/; revision=18104

18 years agoFix declaration of GtkNotebook::create_window()
Emmanuele Bassi [Mon, 11 Jun 2007 20:59:19 +0000 (20:59 +0000)]
Fix declaration of GtkNotebook::create_window()

GtkNotebook::create_window() was declared as returning a GtkNotebook
instead of a pointer to a GtkNotebook. (#446513, Kazuki Iwamoto)

svn path=/trunk/; revision=18103

18 years agomake testiconview show brokenness
Matthias Clasen [Mon, 11 Jun 2007 15:38:53 +0000 (15:38 +0000)]
make testiconview show brokenness

svn path=/trunk/; revision=18102

18 years agoAccept class names starting with lowercase letters for style property
Matthias Clasen [Mon, 11 Jun 2007 04:45:18 +0000 (04:45 +0000)]
Accept class names starting with lowercase letters for style property

2007-06-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
        with lowercase letters for style property assignments, since
        GType accepts these too, and gtkmm uses such class names.  (#343012,
        Murray Cumming, Johannes Schmid)

svn path=/trunk/; revision=18101

18 years agoStore cursor_hadjustment as object data
Matthias Clasen [Mon, 11 Jun 2007 04:41:55 +0000 (04:41 +0000)]
Store cursor_hadjustment as object data

svn path=/trunk/; revision=18100

18 years agoDon't leak cursor_hadjustment
Matthias Clasen [Mon, 11 Jun 2007 03:51:31 +0000 (03:51 +0000)]
Don't leak cursor_hadjustment

svn path=/trunk/; revision=18099

18 years agoClean up short descriptions
Matthias Clasen [Mon, 11 Jun 2007 03:41:27 +0000 (03:41 +0000)]
Clean up short descriptions

svn path=/trunk/; revision=18098

18 years agoHandle child_setup being NULL. (#445691, Christopher Taylor)
Matthias Clasen [Mon, 11 Jun 2007 00:18:51 +0000 (00:18 +0000)]
Handle child_setup being NULL. (#445691, Christopher Taylor)

2007-06-10  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
        being NULL.  (#445691, Christopher Taylor)

svn path=/trunk/; revision=18097

18 years agoDefine GNU libc symbols unconditionally
Emmanuele Bassi [Sun, 10 Jun 2007 17:25:16 +0000 (17:25 +0000)]
Define GNU libc symbols unconditionally

Unconditionally define _GNU_SOURCE and XOPEN_SOURCE, in order to make
the simple search engine backend build on really ancient GNU libc
(see bug 444097), which have ftw.h but need those symbols defined even
to export a POSIX-like ftw() and friends.

svn path=/trunk/; revision=18096

18 years agofix angles by flipping the coordinate system back to its original y
Michael Natterer [Sun, 10 Jun 2007 16:29:31 +0000 (16:29 +0000)]
fix angles by flipping the coordinate system back to its original y

2007-06-10  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
angles by flipping the coordinate system back to its original y
direction. The implementtion is still broken for ellipses, will
have to simulate them using bezier curves.

svn path=/trunk/; revision=18095

18 years agoDon't revert the mouse cursor to the built-in one when the user holds the
Cody Russell [Sun, 10 Jun 2007 16:13:09 +0000 (16:13 +0000)]
Don't revert the mouse cursor to the built-in one when the user holds the

2007-06-10  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
        Don't revert the mouse cursor to the built-in one when
        the user holds the mouse button down. (#445284, Tor Lillqvist)

svn path=/trunk/; revision=18093

18 years agoFix code style and warts in GtkScaleButton
Emmanuele Bassi [Sun, 10 Jun 2007 15:32:02 +0000 (15:32 +0000)]
Fix code style and warts in GtkScaleButton

This patch fixes the code style inconsistencies and some weird bits of
the GtkScaleButton widget implementation.

svn path=/trunk/; revision=18092

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Sun, 10 Jun 2007 11:38:10 +0000 (11:38 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=18091

18 years agoUpdate docs Deprecate gtk_widget_{ref,unref}
Matthias Clasen [Sun, 10 Jun 2007 06:52:51 +0000 (06:52 +0000)]
Update docs Deprecate gtk_widget_{ref,unref}

2007-06-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkwidget.c:
        * gtk/gtkscrolledwindow.c: Update docs
        * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}

        * gtk/tmpl/gtkbindings.sgml:
        * gtk/tmpl/gtkrc.sgml:
        * gtk/tmpl/gtkwidget.sgml:
        * gtk/tmpl/gtkrecentmanager.sgml:
        * gtk/*.sgml:
        * gtk/tmpl/gtkstock.sgml:
        * gtk/gtk-sections.txt: Updates

svn path=/trunk/; revision=18090

18 years agoSome doc updates
Matthias Clasen [Sun, 10 Jun 2007 02:53:17 +0000 (02:53 +0000)]
Some doc updates

svn path=/trunk/; revision=18089

18 years agoAdd an icons property, make gtk_scale_button_new() a convenience function.
Matthias Clasen [Sun, 10 Jun 2007 01:26:28 +0000 (01:26 +0000)]
Add an icons property, make gtk_scale_button_new() a convenience function.

2007-06-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkscalebutton.c: Add an icons property, make
        gtk_scale_button_new() a convenience function.  (#445855,
        Murray Cumming)

svn path=/trunk/; revision=18088

18 years agoCosmetic change
Matthias Clasen [Sun, 10 Jun 2007 00:13:11 +0000 (00:13 +0000)]
Cosmetic change

svn path=/trunk/; revision=18087

18 years agoHandle return values from nl_langinfo() more correctly.
Matthias Clasen [Fri, 8 Jun 2007 18:39:29 +0000 (18:39 +0000)]
Handle return values from nl_langinfo() more correctly.

2007-06-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
        from nl_langinfo() more correctly.

svn path=/trunk/; revision=18085

18 years agoinitialize rc_priv in the else branch too. (#445539)
Carlos Garnacho [Fri, 8 Jun 2007 16:28:52 +0000 (16:28 +0000)]
initialize rc_priv in the else branch too. (#445539)

2007-06-09  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
        branch too. (#445539)

svn path=/trunk/; revision=18084

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 8 Jun 2007 15:04:43 +0000 (15:04 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=18083

18 years agoFix shadow painting if the scrollbars-within-bevel style property is set
Benjamin Berg [Fri, 8 Jun 2007 12:32:02 +0000 (12:32 +0000)]
Fix shadow painting if the scrollbars-within-bevel style property is set

2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>

* gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
Fix shadow painting if the scrollbars-within-bevel style property is
set and border_width is nozero. (#445054)

svn path=/trunk/; revision=18082

18 years agoMake it possible for theme engines to support symbolic colors. (#426192,
Matthias Clasen [Fri, 8 Jun 2007 05:02:13 +0000 (05:02 +0000)]
Make it possible for theme engines to support symbolic colors. (#426192,

2007-06-08  Matthias Clasen  <mclasen@redhat.com>

        Make it possible for theme engines to support symbolic
        colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)

        * gtk/gtk.symbols:
        * gtk/gtkrc.h:
        * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function

        * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
        to new style before parsing engine section.

svn path=/trunk/; revision=18081

18 years agoadd utility function gdk_quartz_fix_cap_not_last_line() which fixes the
Michael Natterer [Thu, 7 Jun 2007 22:26:27 +0000 (22:26 +0000)]
add utility function gdk_quartz_fix_cap_not_last_line() which fixes the

2007-06-08  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c: add utility function
gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.

(gdk_quartz_draw_segments)
(gdk_quartz_draw_lines): use it here.

svn path=/trunk/; revision=18080

18 years agoadd gdk_gc_quartz_init() and set some values to the defaults used by X11.
Michael Natterer [Thu, 7 Jun 2007 21:22:15 +0000 (21:22 +0000)]
add gdk_gc_quartz_init() and set some values to the defaults used by X11.

2007-06-07  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
some values to the defaults used by X11.

(gdk_quartz_gc_set_values): really set cap_style when
GDK_GC_CAP_STYLE is in the mask, not line_style.

svn path=/trunk/; revision=18079

18 years agouse the same code for GDK_XOR as for GDK_INVERT. Xor with an arbitrary
Michael Natterer [Thu, 7 Jun 2007 18:25:15 +0000 (18:25 +0000)]
use the same code for GDK_XOR as for GDK_INVERT. Xor with an arbitrary

2007-06-07  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
use the same code for GDK_XOR as for GDK_INVERT. Xor with an
arbitrary color is impossible to implement with quartz.

svn path=/trunk/; revision=18077

18 years agoFix a typo
Matthias Clasen [Thu, 7 Jun 2007 18:03:57 +0000 (18:03 +0000)]
Fix a typo

svn path=/trunk/; revision=18076

18 years agoAdd GTK_STOCK_DISCARD, #158008.
Christian Neumair [Thu, 7 Jun 2007 15:07:55 +0000 (15:07 +0000)]
Add GTK_STOCK_DISCARD, #158008.

2007-06-07  Christian Neumair  <cneumair@gnome.org>

* gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.

svn path=/trunk/; revision=18075

18 years agoDocumentation additions
Matthias Clasen [Thu, 7 Jun 2007 06:19:15 +0000 (06:19 +0000)]
Documentation additions

svn path=/trunk/; revision=18074

18 years agoAdd this file
Matthias Clasen [Thu, 7 Jun 2007 06:10:49 +0000 (06:10 +0000)]
Add this file

svn path=/trunk/; revision=18073

18 years agoAdd a doc comment
Matthias Clasen [Thu, 7 Jun 2007 06:09:43 +0000 (06:09 +0000)]
Add a doc comment

svn path=/trunk/; revision=18072

18 years agoFix a doc formatting thing
Matthias Clasen [Thu, 7 Jun 2007 04:28:56 +0000 (04:28 +0000)]
Fix a doc formatting thing

svn path=/trunk/; revision=18071

18 years agoUse g_get_user_special_dir() to obtain the path for the DESKTOP directory.
Matthias Clasen [Thu, 7 Jun 2007 04:23:10 +0000 (04:23 +0000)]
Use g_get_user_special_dir() to obtain the path for the DESKTOP directory.

2007-06-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserbutton.c (model_add_special):
        * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
        * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
        * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
        Use g_get_user_special_dir() to obtain the path for the
        DESKTOP directory.

svn path=/trunk/; revision=18070

18 years agoAdd the 16x16 version of gtk-select-color.png to the list of stock icons.
Matthias Clasen [Thu, 7 Jun 2007 03:27:32 +0000 (03:27 +0000)]
Add the 16x16 version of gtk-select-color.png to the list of stock icons.

2007-06-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
        to the list of stock icons.  (#444786)

svn path=/trunk/; revision=18069

18 years agoadd text-[xy]align properties for aligning the text label of the progress
Kristian Rietveld [Wed, 6 Jun 2007 20:27:15 +0000 (20:27 +0000)]
add text-[xy]align properties for aligning the text label of the progress

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
(gtk_cell_renderer_progress_class_init),
(gtk_cell_renderer_progress_[gs]et_property),
(gtk_cell_renderer_progress_render): add text-[xy]align properties
for aligning the text label of the progress bar.  (#334576,
suggestion from Steven Sheehy).

svn path=/trunk/; revision=18068

18 years agoCorrected bug number in last entry
Yevgen Muntyan [Wed, 6 Jun 2007 19:45:30 +0000 (19:45 +0000)]
Corrected bug number in last entry

svn path=/trunk/; revision=18067

18 years agonew method, gtk_widget_modify_cursor() (#89314).
Yevgen Muntyan [Wed, 6 Jun 2007 19:43:31 +0000 (19:43 +0000)]
new method, gtk_widget_modify_cursor() (#89314).

2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkwidget.c:
* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314).

* gtkrc.c:
* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
_gtk_rc_style_unset_rc_property().

* gtk/gtk.symbols: added gtk_widget_modify_cursor.

* tests/testtext.c (do_cursor_visible_changed):
* tests/testgtk.c (create_styles): test it.

svn path=/trunk/; revision=18066

18 years agoRework how we get the event window: don't get the window from the NSEvent,
Richard Hult [Wed, 6 Jun 2007 18:42:07 +0000 (18:42 +0000)]
Rework how we get the event window: don't get the window from the NSEvent,

2007-06-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
(find_window_for_ns_event): Rework how we get the event window:
don't get the window from the NSEvent, always use the mouse window
instead. Fix mouse window tracking by only using MouseExited for
non-gdk windows, and to always use the NSEvent window to get the
right gdk window in MouseEntered. Add comments to the code. Fixes bug
#350460.

svn path=/trunk/; revision=18065

18 years agoDon't do anything if the two windows are the same.
Richard Hult [Wed, 6 Jun 2007 16:23:50 +0000 (16:23 +0000)]
Don't do anything if the two windows are the same.

2007-06-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
Don't do anything if the two windows are the same.
(find_window_for_ns_event): Translate coordinates to be relative
the grab window when appropriate.

svn path=/trunk/; revision=18064

18 years agoFactor out the search shortcut, the recently used shortcut and the
Emmanuele Bassi [Wed, 6 Jun 2007 16:07:03 +0000 (16:07 +0000)]
Factor out the search shortcut, the recently used shortcut and the

2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkfilechooserdefault.c:
(get_file_info_finished), (shortcuts_insert_path),
(shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
out the search shortcut, the recently used shortcut and the separator
from the shortcut selection combo. (#444734)

(recent_idle_load): Remove the idle source that lazily loads the
recently used files, if the GtkRecentManager returns an empty
list. (#443913)

svn path=/trunk/; revision=18063

18 years agoSet DISPLAY in the child process using g_setenv() instead of constructing
Ross Burton [Wed, 6 Jun 2007 15:57:58 +0000 (15:57 +0000)]
Set DISPLAY in the child process using g_setenv() instead of constructing

2007-06-06  Ross Burton  <ross@openedhand.com>

* gdk/x11/gdkspawn-x11.c:
Set DISPLAY in the child process using g_setenv() instead of
constructing a new envp, which lets callers use child setup
functions which call putenv (#442617).

svn path=/trunk/; revision=18062

18 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Johan Dahlin [Wed, 6 Jun 2007 14:24:31 +0000 (14:24 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>

2007-06-06  Johan Dahlin  <jdahlin@async.com.br>

    reviewed by: Matthias Clasen <mclasen@redhat.com>

    * gtk/gtkassistant.c (gtk_assistant_update_buttons_state):
    Check if the wizard is empty before trying to access the first page.
    (#444310, Johan Dahlin)

svn path=/trunk/; revision=18060

18 years agoBump version
Matthias Clasen [Wed, 6 Jun 2007 13:42:00 +0000 (13:42 +0000)]
Bump version

svn path=/trunk/; revision=18059

18 years ago2.11.2
Matthias Clasen [Wed, 6 Jun 2007 13:40:24 +0000 (13:40 +0000)]
2.11.2

svn path=/trunk/; revision=18057

18 years agoUpdates
Matthias Clasen [Wed, 6 Jun 2007 13:07:50 +0000 (13:07 +0000)]
Updates

svn path=/trunk/; revision=18056

18 years agoFix the build
Matthias Clasen [Wed, 6 Jun 2007 13:05:34 +0000 (13:05 +0000)]
Fix the build

svn path=/trunk/; revision=18055

18 years agouse GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
Kristian Rietveld [Wed, 6 Jun 2007 12:56:13 +0000 (12:56 +0000)]
use GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.

2007-06-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.

svn path=/trunk/; revision=18054